package com.kgcx.order.domain;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.sql.Timestamp;

@Data
@Table(name = "t_order_driver_paied")
public class OrderDriverPaied {
    @Id
    private Long kid;

    /**
     * 司机ID
     */
    @Column(name = "driver_id")
    private Long driverId;

    /**
     * 所属月份
     */
    @Column(name = "date_month")
    private Integer dateMonth;

    /**
     * 时间格式的日期，如 20171123
     */
    @Column(name = "date_day")
    private Integer dateDay;

    /**
     * 代付订单数
     */
    @Column(name = "order_count")
    private Integer orderCount;

    /**
     * 代付金额
     */
    @Column(name = "order_amount")
    private Integer orderAmount;

    /**
     * 记录创建者ID
     */
    @Column(name = "create_id")
    private Long createId;

    /**
     * 记录创建时间(下单时间)
     */
    @Column(name = "create_time")
    private Timestamp createTime;

    /**
     * 记录更新者ID
     */
    @Column(name = "update_id")
    private Long updateId;

    /**
     * 记录更新时间
     */
    @Column(name = "update_time")
    private Timestamp updateTime;

    /**
     * 记录状态，101-启用，102-禁用，103-删除
     */
    private Integer status;

}